Skip to content

Construct query validator from array of attribute documents#81

Merged
TorstenDittmann merged 3 commits intomainfrom
fix-query-validator-constructor
Nov 17, 2021
Merged

Construct query validator from array of attribute documents#81
TorstenDittmann merged 3 commits intomainfrom
fix-query-validator-constructor

Conversation

@kodumbeats
Copy link
Copy Markdown
Contributor

This PR updates the constructor of the Query Validator to accept an array of Utopia\Database\Document objects. This change was made to harmonize with the Queries validator, which depends on this class.

Testing
Affected tests have been updated

Comment thread src/Database/Validator/QueryValidator.php Outdated
@TorstenDittmann TorstenDittmann merged commit 5fc0476 into main Nov 17, 2021
@TorstenDittmann TorstenDittmann deleted the fix-query-validator-constructor branch November 17, 2021 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants